import { http } from "@/utils/http";
import { baseUrlApi } from "../utils";

// 获取反洗数据列表
export const SuperviseDataCollectionCollectDataList = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseDataCollection/CollectDataList"),
    {
      data
    }
  );
};

// 获取反洗策略中心数据
export const SuperviseModelDevelopStrategyList = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseModelDevelop/StrategyList"),
    {
      data
    }
  );
};

// 编辑策略中心 or 新增
export const SuperviseModelDevelopAddOrUpdateStrategy = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseModelDevelop/AddOrUpdateStrategy"),
    {
      data
    }
  );
};

// 编辑策略开关
export const SuperviseModelDevelopStrategySwitch = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseModelDevelop/StrategySwitch"),
    {
      data
    }
  );
};

// 获取角色风险监管人员数据列表
export const SuperviseRiskMonitorRiskMonitorList = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseRiskMonitor/RiskMonitorList"),
    {
      data
    }
  );
};

// 获取策略模型的数据列表
export const SuperviseRiskMonitorRiskMonitorBaseData = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseRiskMonitor/RiskMonitorBaseData"),
    {
      data
    }
  );
};

// 获取图表数据
export const SuperviseRiskMonitorRiskMonitorChart = (data: object) => {
  return http.request<any>(
    "post",
    baseUrlApi("/SuperviseRiskMonitor/RiskMonitorChart"),
    {
      data
    }
  );
};
